package cn.lili.modules.payment.entity.vo;

import cn.lili.modules.payment.entity.enums.ApplymentStatusEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 服务商进件VO
 *
 * @author Bulbasaur
 */
@ApiModel(value = "服务商进件VO")
@Data
public class WechatApplymentVO {

    @ApiModelProperty(value = "商户简称")
    private String merchantShortname;
    @ApiModelProperty(value = "业务申请编号")
    String outRequestNo;
    @ApiModelProperty(value = "主体类型")
    String organizationType;
    @ApiModelProperty(value = "特约商户号")
    String subMchid;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(value = "申请状态描述")
    String applymentStateMsg;
    @ApiModelProperty(value = "错误信息")
    String errorMessage;
    /**
     * @see ApplymentStatusEnum
     */
    @ApiModelProperty(value = "状态")
    String status;


    @ApiModelProperty(value = "签约链接")
    String signUrl;

    @ApiModelProperty(value = "汇款账户验证信息")
    AccountValidation accountValidation;
}
